package cn.jiyun.user.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Users {
    private Integer id;

    private String nam;

    private String pwd;

    private Integer sex;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date birth;

}
